package com.sptpc.hello.service;

import com.sptpc.hello.modei.Category;

import java.util.List;

public interface ICategoryService {

    List<Category> getAllCategories();
    void addNewCategory(Category category);

    Category getCategoryById(Integer id);

    void updateCategory(Category category);


    void deleteCategoryById(Integer id);
}
